package com.gitee.qdbp.general.common.biz.sequence.dao;

import com.gitee.qdbp.base.annotation.OperateTraces;
import com.gitee.qdbp.general.common.biz.sequence.service.model.SimpleSequenceParams;
import com.gitee.qdbp.general.common.biz.sequence.service.model.StrongSequenceParams;

public interface ISequenceCallFunctionDao {

    /**
     * 调用存储过程获取下一个序列号值
     *
     * @param model 规则
     * @return 结果
     */
    @OperateTraces(operate = "简单序列号-递增")
    String callSimpleSequenceNext(SimpleSequenceParams model);

    /**
     * 调用存储过程获取下一个序列号值
     *
     * @param model 规则
     * @return 结果
     */
    @OperateTraces(operate = "复杂序列号-递增")
    String callStrongSequenceNext(StrongSequenceParams model);
}
